package com.boot.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags={"用户信息2"})
public class TestControllor {
	@ApiOperation(value = "GET请求",notes="hello world")
	@ApiImplicitParam(dataType = "String",name = "username",value = "用户名",required = true)
	@RequestMapping(value="/hello1",method = RequestMethod.GET)  
    public String hello3() {
		System.out.println("hello word");
        return "hello world1";  
    }  
}
